// js判断输入信息是否为空
 function empty(id,id1){
	var a = document.getElementById(id).value;
	if(a == ""){
		document.getElementById(id1).innerHTML="<span class='err-msg'> 不能为空</span>";
	}else{
		document.getElementById(id1).innerHTML="*";
	}
 }

 // 输入框内容为空不能提交
	function checkForm(formName){
		var linkName = formName.linkName.value;
		if(linkName == ''){
			document.getElementById("linkNameCheck").innerHTML="<span class='err-msg'> 不能为空</span>";
			return false;
		}
		var email = formName.email.value;
		if(email == ''){
			document.getElementById("emailCheck").innerHTML="<span class='err-msg'> 不能为空</span>";
			return false;
		}
		var linkTel = formName.linkTel.value;
		if(linkTel == ''){
			document.getElementById("linkTelCheck").innerHTML="<span class='err-msg'> 不能为空</span>";
			return false;
		}
		var companyName = formName.companyName.value;
		if(companyName == ''){
			document.getElementById("companyNameCheck").innerHTML="<span class='err-msg'> 不能为空</span>";
			return false;
		}
		var companyCategery = formName.companyCategery.value;
		if(companyCategery == ''){
			document.getElementById("companyCategeryCheck").innerHTML="<span class='err-msg'> 不能为空</span>";
			return false;
		}
		var address = formName.address.value;
		if(address == ''){
			document.getElementById("addressCheck").innerHTML="<span class='err-msg'> 不能为空</span>";
			return false;
		}
	}